package scuff.msg.util

import scuff.msg.TypeChecker

/**
  * Will use the simple class name as the message type.
  */
trait ClassNameAsType extends TypeChecker[String, AnyRef] {
  def typeID(payload: AnyRef): String = payload.getClass.getSimpleName
}